package com.information.manage.basic.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sy
 * @since 2021-12-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("staff_detail")
@ApiModel(value="StaffDetailDO对象", description="")
public class StaffDetailDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "性别 0男 1女")
    private Integer gender;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "职务 字典id")
    private Integer job;

    @ApiModelProperty(value = "政治面貌 字典id")
    private Integer politicsFace;

    @ApiModelProperty(value = "员工状态 字典id")
    private Integer state;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "退休时间")
    private LocalDateTime retireTime;

    private String mail;

}
